package com.cmc.cloud.cmclink.doc.api.document.emums;

import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 陈正
 * @date 2025/7/22
 */
public enum SubCargoTypeEnum {
    /**
     * 液袋货
     */
    FLEXI("FLEXI", "液袋货"),

    /**
     * 半开门
     */
    ODO("ODO", "半开门");

    @Getter
    private String value;

    @Getter
    private String label;

    SubCargoTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public static List<String> getAllValue() {
        List<String> valus = new ArrayList<>();
        for (SubCargoTypeEnum temp : SubCargoTypeEnum.values()) {
            valus.add(temp.getValue());
        }
        return valus;
    }
}
